<?php

namespace Database\Seeders;

use App\Models\ProductCate;
use Illuminate\Database\Seeder;

class ProductCateSeeder extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        ProductCate::create([
            'title' => '产品分类',
            'description' => '分类描述',
            'children' => [
                [
                    'title' => '产品分类一',
                    'description' => '分类一描述'
                ]
            ]
        ]);
    }
}
